package day21;
import java.util.ArrayList;
import java.util.List;
public class study {
    public static void main(String[] args) {
        List list=new ArrayList();
        list.add("钟五位");
        list.add("朱玉");
        //增强遍历(通过循环)
        for(Object val:list){
        System.out.println(val.toString());

    }
}
}
